from django.urls import path, include
from rest_framework.routers import SimpleRouter

from user import views

router = SimpleRouter()
router.register('', viewset=views.LoginView, basename='login')
router.register('', viewset=views.SMSSendView, basename='send')
router.register('', viewset=views.RegisterView, basename='register')

app_name = 'user'

urlpatterns = [
    path('', include(router.urls)),
]
